/* 
 * File:   read.cpp
 * Author: Henrique
 * 
 * Created on 29 de Março de 2010, 14:51
 */

#include "read.h"
#include <iostream>

namespace leitor {

    read::read() {
    }

    read::read(char v) {
        var = v;
    }

    read::read(const read& orig) {
    }

    read::~read() {
    }

    char read::getChar() {
        char c;
        c = var;
        return c;
    }

    double read::getDouble() {
        double d;
        d = value;
        return d;
    }

    void read::execute() {
        std::cin >> value;
        std::cout << std::endl;
    }

}